/**
 * Copyright &copy; 2012-2014 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.my.bigsite.modules.act.service;

import org.activiti.engine.RepositoryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
 

/**
 * 流程模型相关Controller
 * @author ThinkGem
 * @version 2013-11-03
 */
@Service
@Transactional(readOnly = true)
public class ActModelService   {

	@Autowired
	private RepositoryService repositoryService;
 
	/**
	 * 删除模型
	 * @param id
	 * @return
	 */
	public void delete(String id) {
		repositoryService.deleteModel(id);
	}
}
